Dekoratives Banner

FileSystem encode() Class Method


    File.encode(string)
    Folder.encode(string)

Description

    The encode() class method of File or Folder converts the input string to UTF-8 and then encodes it such that all characters are usable in a URI (or URL). More information on the encoding standard can be found in the RFC 2396 document (search for this online).

Parameters

    string

    the string to be encoded.

Returns

    String.

See also

    FileSystem alias Attribute